$OpenBSD: patch-src_bin_animate_glob_c,v 1.1 2012/03/23 20:36:49 naddy Exp $
--- src/bin/animate/glob.c.orig	Fri Mar 23 14:28:53 2012
+++ src/bin/animate/glob.c	Fri Mar 23 14:29:26 2012
@@ -41,7 +41,7 @@ static char sccsid[] = "@(#)glob.c	5.7 (Berkeley) 12/1
 #include <errno.h>
 #include <pwd.h>
 
-#if !defined(dirfd) && !defined(__GLIBC__) && !defined(__linux__) && !defined(__FreeBSD__) && !defined(__CYGWIN__)
+#if !defined(dirfd) && !defined(__GLIBC__) && !defined(__linux__) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__CYGWIN__)
 #define dirfd(dirp)  ((dirp)->dd_fd)
 #endif
 
